-- skill
-- create by panyl
-- 道具：  技能

return {
    apply = function(source, target, classId, value)
        -- 额外参数
        local extra = { lastRound = value.round, propertyId = classId, };

        -- 施放技能
        SkillM.apply(source, target, value.skill_id, CombatM.getRound(), extra);

        -- 抛出使用道具施法事件
        EventMgr.fire(event.PROPERTY_SKILL, { ["classId"] = classId, ["target"] = target, ["skillId"] = value.skill_id });
    end,
};
